<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>测试OpenFiegn文件上传</title>
</head>
<body>
<form action="./upload" method="post"  enctype="multipart/form-data">
    文件：<input type="file" name="file" value="请选择文件"/>
    <input type="submit" value="提交">
</form>

</body>
</html>